<template>
    <div style="background-color: pink;">
        <h2>i am ch2slot</h2>
        <!-- 默认插槽 -->
        <slot>我是默认值aa</slot>
        <hr>
        
        <hr>
        
        <!-- 具名插槽 -->
        <slot name="footer1"></slot>
        <hr>
    </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>

</style>